import { request } from "@/utils/request"

const ip = {
    postTableData: "/back/renfang/doc/export/data", // 表格数据
    postJbfaTable: "/back/renfang/doc/basicScheme/tableSelect?tableName=" // 基本方案表格
}

export const postTableData = (data) => {
    return request({
        url: ip.postTableData,
        method: "post",
        data
    });
}

export const postJbfaTable = (name) => {
    return request({
        url: ip.postJbfaTable + name,
        method: "get"
    });
}